home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex209 / contrib / latexinfo / INSTALL < prev    next >
Text File  |  1991-11-27  |  4KB  |  166 lines

  1. File: latexinfo2.info  Node: Installing LaTeXinfo, Prev: Extending LaTeXinfo, Up: Top, Next: Converting Files to LaTeXinfo
  2.  
  3. Installing LaTeXinfo
  4. ********************
  5.  
  6.  
  7. * Menu:
  8.  
  9. * Compiling LaTeXinfo::         
  10. * Installing the LaTeXinfo Distribution::  
  11.  
  12.  
  13. 
  14. File: latexinfo2.info  Node: Compiling LaTeXinfo, Prev: Installing LaTeXinfo, Up: Installing LaTeXinfo, Next: Installing the LaTeXinfo Distribution
  15.  
  16. Compiling LaTeXinfo
  17. ===================
  18.  
  19.  
  20. To compile LaTeXinfo:
  21.      
  22.   1. Run the shell script `configure'.  You will be 
  23.      asked to provide the following:
  24.      
  25.      BINDIR
  26.      
  27.      Where to install the executables.
  28.      
  29.      INFODIR
  30.      
  31.      Where to install the info files.
  32.      
  33.      EMACS
  34.      
  35.      the name of your GNU Emacs.
  36.      
  37.      
  38.      These must exists, and you must be able to write to these directories.
  39.      For example,
  40.      
  41.      Where would you like to install the binaries?
  42.      
  43.      Please type the full path to your binaries directory:
  44.      >/usr5/gnu/bin-sparc
  45.      
  46.      The binaries path was verfied to be [/usr5/gnu/bin-sparc]
  47.      
  48.      Where are the Gnu Info files located?
  49.      
  50.      Please type the full path to your info directory:
  51.      >/usr5/gnu/info 
  52.      
  53.      The Info directory was verfied to be [/usr5/gnu/info]
  54.      
  55.      Where is your GNU Emacs command:
  56.      
  57.      Please type the name of your GNU Emacs command:
  58.      >xemacs
  59.      
  60.      
  61.   2. Then you will be asked:
  62.      
  63.      Would you like to install the elisp and LaTeX files elsewhere,
  64.      or leave them here, and set an environment variable to point to here?
  65.      
  66.      Set an environment variable to point to here [y/n]? 
  67.      
  68.      
  69.      If you choose
  70.      y
  71.      `configure' will set the environment variable
  72.      `LATEXINFO' in the `.login' to point to this directory,
  73.      and you won't need to `make install'.
  74.      
  75.      n
  76.      You will be asked about:
  77.      
  78.      ELISPDIR
  79.      
  80.      Where to install the compiled Elisp code.
  81.      
  82.      TEXDIR
  83.      
  84.      Where to install the style files.
  85.      
  86.      
  87.      For example,
  88.      
  89.      Set an environment variable to point to here [y/n]? n
  90.      
  91.      Where would you like to install GNU Emacs code (elisp)?
  92.      
  93.      Please type the full path to your elisp directory:
  94.      >/usr5/gnu/lib/emacs/latexinfo  
  95.      
  96.      The elisp path was verfied to be [/usr5/gnu/lib/emacs/latexinfo]
  97.      
  98.      Where would you like to install the LaTeX style files?
  99.      
  100.      Please type the full path to your LaTeX style directory:
  101.      >/usr5/gnu/lib/tex
  102.      
  103.      The  LaTeX style path was verfied to be [/usr5/gnu/lib/tex]
  104.      
  105.      
  106.      
  107.   3. Type `make'.
  108.      This will make the executables `latexindex', `info',
  109.      make the manual, and compile the `.el' files.  It will also make
  110.      the files `.emacs' and `.login'.
  111.      
  112.  
  113.  
  114. You may also have to change the definitions of your LaTeX commands in the
  115. shell script `manual/latex2dvi' is you are unusual.
  116.  
  117. 
  118. File: latexinfo2.info  Node: Installing the LaTeXinfo Distribution, Prev: Compiling LaTeXinfo, Next: Installing the Style Files
  119.  
  120. Installing the LaTeXinfo Distribution
  121. =====================================
  122.  
  123.  
  124.   1. 
  125.      If you chose to install the elisp and LaTeX files elsewhere,
  126.      type `make install' to make the executables,
  127.      the manual and compile the `.el' files. This will
  128.      
  129.      `make install.C'
  130.      
  131.      which will move the executables to `BINDIR'.
  132.      
  133.      `make install.manual'
  134.      
  135.      which will move a copy of the files `manual/latexinfo.info*' to the
  136.      info directory of the GNU Emacs distribution specified by
  137.      `INFODIR', and a copy of the sample file to the LaTeX styles
  138.      directory specified by `TEXDIR'.
  139.      
  140.      `make install.elisp'
  141.      
  142.      which will move a copy of the files `styles/*.elc' to the
  143.      the GNU Emacs lisp directory specified by `ELISPDIR'.
  144.      
  145.      `make install.styles'
  146.      
  147.      which will move a copy of the files `styles/*.sty' to the
  148.      the LaTeX styles directory specified by `TEXDIR'.
  149.      
  150.      
  151.   2. Edit the `dir' file in `INFO' directory to include lines like
  152.      
  153.      * LaTeXinfo: (latexinfo2.info).   With one source file, make either a 
  154.      printed manual using LaTeX or an Info file.
  155.      
  156.   3. 
  157.      Include a copy of the `.emacs' file in your `~/.emacs'.
  158.      
  159.   4. 
  160.      Include a copy of the `.login' file in your `~/.login'.
  161.      
  162.   5. Print a copy of the `manual/latexinfo.dvi' file and
  163.      enjoy.
  164.  
  165.  
  166.